package main;

import entity.TypeEntity;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TypeEntityTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
        TypeEntity typeEntity = (TypeEntity) context.getBean("typeEntity");
        typeEntity.printAll();
    }

}
